package com.zbkj.crmeb.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zbkj.crmeb.user.model.UserIntegralSign;
import com.zbkj.crmeb.user.response.UserIntegralSignResponse;

public interface UserIntegralSignService extends IService<UserIntegralSign> {

    /**
     * 功能描述: 用户积分商城签到
     * @Param: []
     * @Return: com.zbkj.crmeb.user.response.UserIntegralSignResponse
     * @Author: wangzh
     * @Date: 2023/3/2 14:58
     */
    UserIntegralSignResponse sign() throws Exception;

    /**
     * 功能描述: 获取用户今日签到状态
     * @Param: []
     * @Return: java.lang.Boolean
     * @Author: wangzh
     * @Date: 2023/3/2 14:58
     */
    Boolean getSignStatus();

    /**
     * 功能描述: 获取当前用户签到记录
     * @Param: []
     * @Return: com.zbkj.crmeb.user.response.UserIntegralSignResponse
     * @Author: wangzh
     * @Date: 2023/3/3 13:53
     */
    UserIntegralSignResponse getSignRecord();

    /**
     * 功能描述: 删除超过7天的用户签到记录
     * @Param: []
     * @Return: void
     * @Author: wangzh
     * @Date: 2023/3/9 11:19
     */
    void DeleteUserIntegralSignRecord();
}
